import {typeGroups} from "@/api/public.js"
export const disasterOptionAll = (len, date) => {
	typeGroups(
		"disaster_common,collapse,debrisFlow,groundCollapse,groundFissure,landSubsidence,landslide,unstableSlope,images_file_video,warn,device,sms_warn_type,disaster_danger,emergency_direction,news_common"
	).then(optionAll => {
		let newoptionAll=JSON.stringify(optionAll.data);
		uni.setStorageSync('disasterOptionAll', newoptionAll);
	});
}